/**
 * Title: SubtaskTaskScoreServiceimpl.java
 * @author WuJin
 * @date 2020年6月18日
 * @version 1.0
 */
package com.pm.service.task.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.pm.entity.po.task.SubtaskTaskScore;
import com.pm.mapper.task.SubtaskTaskScoreMapper;
import com.pm.service.impl.BaseServiceImpl;
import com.pm.service.task.SubtaskTaskScoreService;

/**
 * Title: SubtaskTaskScoreServiceimpl
 * @author WuJin
 * @date 2020年6月18日
 */
/**
 * Title: SubtaskTaskScoreServiceImpl
 * 
 * @author WuJin
 * @date 2020年6月18日
 */

@Service
public class SubtaskTaskScoreServiceImpl extends BaseServiceImpl<SubtaskTaskScore> implements SubtaskTaskScoreService {

	private SubtaskTaskScoreMapper subtaskTaskScoreMapper;

	@Resource
	private void setBaseMapper(SubtaskTaskScoreMapper subtaskTaskScoreMapper) {
		this.subtaskTaskScoreMapper = subtaskTaskScoreMapper;
		super.setBaseMapper(subtaskTaskScoreMapper);
	}

	/*
	 * (non-Javadoc) <p>Title: addBatch</p> <p>Description: </p>
	 * 
	 * @param scores
	 * 
	 * @return
	 * 
	 * @see com.pm.service.task.SubtaskTaskScoreService#addBatch(java.util.List)
	 */
	@Override
	public int addBatch(List<SubtaskTaskScore> scores) {
		return subtaskTaskScoreMapper.addBatch(scores);
	}

}
